package hausaufgabe;

public class Punisher implements GefStrategie {
	
	private boolean opponentsLast = true;
	private boolean revengeMode = false;

	public boolean getNextDecision() {
		if(!opponentsLast)
			revengeMode = true;
		else
			revengeMode = false;
		if(revengeMode)
			return false;
		else
			return true;
	}

	public String getStrategyName() {
		return "Punisher";
	}

	public void setOpponentsLastDecision(boolean decision) {
		opponentsLast = decision;
	}
}